package com.sgb.kjwl.model.entity.self;

import android.text.TextUtils;

public class CompanyFocusEntity {

//           "serviceType": "56",
//           "districtName": "和静县",
//           "companyType": "国有民营混合所有制公司",
//           "companyName": "员工在认证",
//           "updateTime": 1615282686684,
//           "NAME": "陈东辉",
//           "companyId": 137288,
//           "companyNo": "202011304634869",
//           "cityName": "巴音郭楞蒙古自治州",
//           "registeredCapital": "10000",
//           "telphone": "15009910002",
//           "logo": "https:\/\/shigongbang.oss-cn-hangzhou.aliyuncs.com\/member_center\/610000\/20201234511423131131279.jpg",
//           "provinceName": "新疆维吾尔自治区"

    private String companyName;
    private String districtName;
    private String cityName;
    private String companyNo;
    private String companyId;
    private String serviceType;
    private boolean companyFocus = true;
    private String logo;
    private String provinceName;
    private String address;
    private String focusNo;


    public boolean isCompanyFocus() {
        return companyFocus;
    }

    public void setCompanyFocus(boolean companyFocus) {
        this.companyFocus = companyFocus;
    }

    public String getServiceType() {
        return serviceType;
    }

    public void setServiceType(String serviceType) {
        this.serviceType = serviceType;
    }

    public String getCompanyNo() {
        return companyNo;
    }

    public void setCompanyNo(String companyNo) {
        this.companyNo = companyNo;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    public String getLogo() {
        return logo;
    }

    public void setLogo(String logo) {
        this.logo = logo;
    }

    public String getProvinceName() {
        return provinceName;
    }

    public void setProvinceName(String provinceName) {
        this.provinceName = provinceName;
    }

    public String getDistrictName() {
        return districtName;
    }

    public void setDistrictName(String districtName) {
        this.districtName = districtName;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        if (TextUtils.isEmpty(address)) {
            StringBuffer stringBuffer = new StringBuffer();
            address = stringBuffer.append(provinceName).append(cityName).append(districtName).toString();
        }
        this.address = address;
    }

    public String getFocusNo() {
        return focusNo;
    }

    public void setFocusNo(String focusNo) {
        this.focusNo = focusNo;
    }
}
